package com.imcoke.abchat.common;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @Author ccoke
 * @Description 状态码枚举类
 * @Date: 20:20 2017-11-27
 */
@Getter
@AllArgsConstructor
public enum  ResultEnum {
    SUCCESS("200","操作成功！"),
    DENY("401","请求被拒绝，权限不够！"),
    NOT_FOUND("404","没有发现相关的信息！"),
    UPLOADIMG_ERROR("400","图片上传错误！"),
    PARAMETER_MISS("405","缺少必要的参数！"),
    HAVE_ALREADY("406","错误：已存在参数"),
    PARAMETER_NO("407","错误：不存在参数"),
    OPTION_ERROR("408","错误：操作失败");
    private final String code,description;
}
